<template>
  <div>
    大儿子姓名：xiao 妈妈姓名：{{ matherName }} 老婆姓名
    <input type="text" v-model="wifeName" @change="fn" />
  </div>
</template>

<script>
export default {
  name: "Jop1Son1",
  props: { matherName: { type: String, required: true } },
  data() {
    return { wifeName: "" };
  },

  mounted() {},

  methods: {
    fn() {
      this.$emit("event1", this.wifeName);
    },
  },
};
</script>

<style lang="scss" scoped></style>
